	<?php
		$tblImage = new Zendvn_Models_Slide();
		$img = $tblImage->listItem($this->arrParam,array('task'=>'public')); 
	?>
	<div id="slider" class="slide nivoSlider">
		<?php 
			if (!empty($img)){
				foreach ($img as $key => $val){
					$title 	= $val['name'];
					$url 	= $val['url']; 
					if(!empty($val['picture'])){
                    	$linkImg	= FILES_URL . '/slide/images450x450/' . $val['picture'];
                    	$picture 	= '<a target="_blank" href="'. $url .'"><img title="" src="'. $linkImg .'" alt="'.$name.'" /></a>';
                    }else{
                    	$linkImg	= FILES_URL . '/slide/images450x450/no-image.jpg';
                    	$picture 	= '<a target="_blank" href="'. $url .'"><img title="" src="'. $linkImg .'" alt="'.$name.'" /></a>';
                    }
		?>
		<?php echo $picture?>
		<?php }}?>
	</div>
